package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_bdb_ruleobject")
public class BhyfBdbRuleObject implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 规则名称
     */
    @ApiModelProperty(value = "规则名称")
    private String objectname;

    /**
     * 评价类型名称
     */
    @ApiModelProperty(value = "评价类型名称")
    private String ruletypename;

    /**
     * 目标id
     */
    @ApiModelProperty(value = "目标id")
    private Integer objectid;

    /**
     * 规则目标
     */
    @ApiModelProperty(value = "规则目标")
    private String objectsuggest;

    /**
     * 评价类型
     */
    @ApiModelProperty(value = "评价类型")
    private Integer ruletype;

    /**
     * 区角类型
     */
    @ApiModelProperty(value = "区角类型")
    private Integer angletype;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updatetime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getObjectid() {
        return objectid;
    }

    public void setObjectid(Integer objectid) {
        this.objectid = objectid;
    }

    public String getObjectname() {
        return objectname;
    }

    public void setObjectname(String objectname) {
        this.objectname = objectname;
    }

    public String getRuletypename() {
        return ruletypename;
    }

    public void setRuletypename(String ruletypename) {
        this.ruletypename = ruletypename;
    }

    public String getObjectsuggest() {
        return objectsuggest;
    }

    public void setObjectsuggest(String objectsuggest) {
        this.objectsuggest = objectsuggest;
    }

    public Integer getRuletype() {
        return ruletype;
    }

    public void setRuletype(Integer ruletype) {
        this.ruletype = ruletype;
    }

    public Integer getAngletype() {
        return angletype;
    }

    public void setAngletype(Integer angletype) {
        this.angletype = angletype;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "BhyfBdbRuleObject{" +
                "id=" + id +
                ", objectname=" + objectname +
                ", objectsuggest=" + objectsuggest +
                ", angletype=" + angletype +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", ruletype=" + ruletype +
                ", ruletypename=" + ruletypename +
                ", objectid=" + objectid +
                "}";
    }
}
